package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * 
 * @title		:ManageSummary.java
 * @description	:管理目标汇总表
 * @author		:mazhaoyan
 * @date		:2017年6月12日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014
 */
@Entity
@Table(name = "T_MANAGESUMMARY", schema = "DRGs")
public class ManageSummary extends KoalaLegacyEntity {
	
	private static final long serialVersionUID = 4494213478581706650L;

	// 管理目标代码
	@Id
	@Column(name = "MS_CODE", nullable = false)
	private String msCode;

	// 管理目标是否启用 1：是 0：否
	@Column(name = "MS_FLAG")
	private String msFlag;
	
	public ManageSummary() {
		super();
	}

	/**
     *  
     * @param msCode
     * @param msFlag
     * @param msCodeAlias
     * @param msDescAlias
	 */
	public ManageSummary(String msCode, String msFlag) {
		super();
		this.msCode = msCode;
		this.msFlag = msFlag;
	}

	/**
	 * @return the msCode
	 */
	public String getMsCode() {
		return msCode;
	}

	/**
	 * @param msCode the msCode to set
	 */
	public void setMsCode(String msCode) {
		this.msCode = msCode;
	}

	
	public String getMsFlag() {
		return msFlag;
	}

	public void setMsFlag(String msFlag) {
		this.msFlag = msFlag;
	}

	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return this.msCode ;
	}
	
	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
